package im.starchat.chat.activity.profile;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import butterknife.ButterKnife;
import butterknife.InjectView;
import im.starchat.chat.R;
import im.starchat.chat.activity.BaseActivity;
import im.starchat.chat.utils.Util;


/**
 * 关于页面
 */
public class AboutUsActivity extends BaseActivity implements View.OnClickListener {

    @InjectView(R.id.apply_back)
    ImageView mBackBtn;
    @InjectView(R.id.tv_aboutus_version)
    TextView mTvAboutusVersion;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_aboutus);
        ButterKnife.inject(this);
        mTvAboutusVersion.setText("v"+Util.getAppVersionName(this));
        mBackBtn.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.apply_back:
                finish();
                break;
        }
    }
}
